/**
 * @author 作者 :
 * @version 
 * @Date 创建时间：2020-11-25 9:17:07
 * @Description 类说明 : TODO 
 */
package com.carrey.dongyoufa.entity;

import java.io.Serializable;

/**
 * @author Carre
 *
 */
public class Category implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private Integer id;//
	private String name;// 分类的名称
	private Integer channelId;// 频道的主键
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getChannelId() {
		return channelId;
	}
	public void setChannelId(Integer channelId) {
		this.channelId = channelId;
	}
	public Category(Integer id, String name, Integer channelId) {
		super();
		this.id = id;
		this.name = name;
		this.channelId = channelId;
	}
	public Category() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Category [id=" + id + ", name=" + name + ", channelId=" + channelId + "]";
	}
	

}
